package lib.Base;

import java.io.Serializable;

public class Message implements Serializable {
	/**
	 * Object to hold a message. 
	 * A Message object contains a timestamp, userId and a message text.
	 */
	private static final long serialVersionUID = 1L;

	private long Timestamp;
	private String UserId;
	private String Text;

	public Message(long Timestamp, String UserId, String Text) {
		this.Timestamp = Timestamp;
		this.UserId = UserId;
		this.Text = Text;
	}

	public long getTimestamp() {
		return Timestamp;
	}

	public String getUserId() {
		return UserId;
	}

	public String getText() {
		return Text;
	}
}